<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>table</title>
</head>
<style>
    /* .left {
        width: 200px;
        height: 600px;
        background: red;
        float: left;
        display: table;
        text-align: center;
        line-height: 600px;
        color: #fff;
    }
    
    .right {
        margin-left: 210px;
        height: 600px;
        background: yellow;
        text-align: center;
        line-height: 600px;
    } */
    /* .left {
        width: 200px;
        height: 300px;
        text-align: center;
        background: red;
        float: left;
    }
    
    .right {
        width: 150px;
        height: 300px;
        text-align: center;
        background: green;
        float: right;
    }
    
    .middle {
        height: 300px;
        background: yellow;
        text-align: center;
        margin-left: 220px;
        margin-right: 160px;
    } */
    /* .left {
        background: red;
        width: 200px;
        height: 300px;
        position: absolute;
        top: 10px;
        left: 10px;
    }
    
    .middle {
        height: 300px;
        margin: 0 220px;
        background: yellow;
    }
    
    .right {
        height: 300px;
        width: 200px;
        position: absolute;
        top: 0;
        right: 0;
        background: green;
    } */
    /* .wrapper {
        overflow: hidden;
    }
    
    .middle {
        width: 100%;
        float: left;
    }
    
    .middle .main {
        margin: 0 220px;
        background: yellow;
    }
    
    .left {
        width: 200px;
        height: 300px;
        float: left;
        background: red;
        margin-left: -100%;
    }
    
    .right {
        width: 200px;
        height: 300px;
        float: left;
        background: green;
        margin-left: -200px;
    } */
    
    .wrapper {
        display: flex;
    }
    
    .left {
        width: 200px;
        height: 300px;
        background: red;
    }
    
    .middle {
        width: 100%;
        background: yellow;
        margin: 0 20px;
    }
    
    .right {
        width: 200px;
        height: 300px;
        background: green;
    }
</style>

<body>
    <div class="wrapper">
        <div class="left">左栏</div>
        <div class="middle">中间</div>
        <div class="right">右栏</div>
    </div>
</body>

</html>